package com.xujf.sym.ui.activity

import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.xujf.sym.R
import com.xujf.sym.ui.base.BaseSimpleActivity

class LoginActivity : BaseSimpleActivity() {

    companion object {
        const val REQUEST_LOGIN = 100

        fun startForResult(activity: Activity, requestCode: Int) {
            activity.startActivityForResult(Intent(activity, LoginActivity::class.java), requestCode)
        }

        fun startForResult(activity: Activity) {
            startForResult(activity, REQUEST_LOGIN)
        }
    }

    override fun setUpUI(savedInstanceState: Bundle?) {
        setContentView(R.layout.activity_login)
        translucentToolBar()
        getBaseToolBar().title = getString(R.string.login)
    }
}
